package net.cardgame.orcalecard.bean;

import java.util.Date;

/**
 * Lá»›p dá»¯ liá»‡u thá»ƒ hiá»‡n bá»™ bÃ i
 * 
 */
public class DeckBean {

	// ID cá»§a bá»™ bÃ i
	public int deckId;

	@Override
	public String toString() {
		return "DeckBean [\ndeckId=" + deckId + ", \ndeckName=" + deckName
				+ ", \nisFree=" + isFree + ", \nisUnlock=" + isUnlock
				+ ", \ndeckPrice=" + deckPrice + ", \ncardNumber=" + cardNumber
				+ ", \nreleaseDate=" + releaseDate + ", \ninAppPurchaseId="
				+ inAppPurchaseId + ", \npathServerDownload="
				+ pathServerDownload + ", \npercentDownloaded="
				+ percentDownloaded + ", \nbuyDate=" + buyDate
				+ ", \nlastUsedDate=" + lastUsedDate + "\n]";
	}

	// TÃªn bá»™ bÃ i
	public String deckName;

	// Bá»™ bÃ i cÃ³ thu phÃ­ hay khÃ´ng
	public boolean isFree;

	// Bá»™ bÃ i Ä‘Ã£ Ä‘Æ°á»£c mua hay chÆ°a
	public boolean isUnlock;

	// GiÃ¡ cá»§a bá»™ bÃ i
	public int deckPrice;

	// Sá»‘ lÆ°Æ¡ng quÃ¢n bÃ i
	public int cardNumber;

	// ngÃ y xuáº¥t hiá»‡n bá»™ bÃ i
	public Date releaseDate;

	// ID dÃ¹ng trong viá»‡c xá»­ lÃ½ In App Billing
	public String inAppPurchaseId;

	// Ä�Æ°á»�ng dáº«n Ä‘áº¿n file áº£nh thá»ƒ hiá»‡n tÃªn bá»™ bÃ i
	public String pathImageTitle;

	// Ä�Æ°á»�ng dáº«n Ä‘áº¿n file áº£nh thá»ƒ hiá»‡n ná»�n bá»™ bÃ i
	public String pathImageBackground;

	// Ä�Æ°á»�ng dáº«n Ä‘áº¿n file text thá»ƒ hiá»‡n thÃ´ng tin bá»™ bÃ i
	public String pathTextDetail;

	// Ä�Æ°á»�ng link Ä‘á»ƒ download data bá»™ bÃ i
	public String pathServerDownload;
	//
	public int percentDownloaded = -1;

	//
	public Date buyDate;
	//
	public Date lastUsedDate;

	public DeckBean() {
		Date defaultDate = new Date(2000, 1, 1);
		this.buyDate = defaultDate;
		this.releaseDate = defaultDate;
		this.lastUsedDate = defaultDate;
	}
}
